#!/bin/bash

if [ $# -lt 2 ]; then
	echo 'Usage: diff file1 file2'
fi

echo "To be removed:"
diff $1 $2 | egrep "^<" | sed "s/^< //"
echo "To be added:"
diff $1 $2 | egrep "^> alias [a-zA-Z]+=(\".*?\"|\'.*?\')" | sed "s/^> //"
